{% extends "gestor/base.html" %}

{% block contenido %}
    <div class="Paso">
        <h2>{{ block.super }} - Paso 2</h2>
        <div class="FichaForm">
        {% if form.errors %}
            <div class="error_general">
                Por favor, corrige los posibles errores.
            </div>
        {% endif %}
        <form action="" method="post">
            <table id="basicas">
                <tr id="cab"><th></th><th>Base</th><th>Actual</th><th>Plus</th><th>Bono</th></tr>
                <tr id="fil"><th>Agilidad</th><td>{{form.agi_base}}</td><td>{{form.agi_actual}}</td><td>{{form.agi_plus}}</td><td>{{laficha.agi_bono}}</td>
                <tr id="fil"><th>Constitución</th><td>{{form.con_base}}</td><td>{{form.con_actual}}</td><td>{{form.con_plus}}</td><td>{{laficha.con_bono}}</td>
                <tr id="fil"><th>Destreza</th><td>{{form.des_base}}</td><td>{{form.des_actual}}</td><td>{{form.des_plus}}</td><td>{{laficha.des_bono}}</td>
                <tr id="fil"><th>Fuerza</th><td>{{form.fue_base}}</td><td>{{form.fue_actual}}</td><td>{{form.fue_plus}}</td><td>{{laficha.fue_bono}}</td>
                <tr id="fil"><th>Inteligencia</th><td>{{form.int_base}}</td><td>{{form.int_actual}}</td><td>{{form.int_plus}}</td><td>{{laficha.int_bono}}</td>
                <tr id="fil"><th>Percepción</th><td>{{form.per_base}}</td><td>{{form.per_actual}}</td><td>{{form.per_plus}}</td><td>{{laficha.per_bono}}</td>
                <tr id="fil"><th>Poder</th><td>{{form.pod_base}}</td><td>{{form.pod_actual}}</td><td>{{form.pod_plus}}</td><td>{{laficha.pod_bono}}</td>
                <tr id="fil"><th>Voluntad</th><td>{{form.vol_base}}</td><td>{{form.vol_actual}}</td><td>{{form.vol_plus}}</td><td>{{laficha.vol_bono}}</td>
            </table>
            <table>
                <tr id="fil"><th>Apariencia</th><td>{{form.apariencia}}</td></tr>
                <tr id="fil"><th>Gnosis</th><td>{{form.gnosis}}</td></tr>
                <tr id="fil"><th>Natura</th><td>{{form.natura}}</td></tr>
            </table>
            <input type="submit" value="Grabar y Previsualizar" />
        </form>
        
        <strong><a href="{% url paso3 info_ficha.personaje %}">Continuar</a></strong>
        </div>
    </div>
{% endblock %}